﻿<%@ Page Title="Acceso al Sistema Nepal" Language="C#" MasterPageFile="~/GUI/Vista/InicioSesion.Master" AutoEventWireup="true" CodeBehind="InicioSesion.aspx.cs" Inherits="Tibet.GUI.Vista.InicioSesion" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    
    <style type="text/css">
        .style1
        {
            width: 75px;
        }
        .style2
        {
            width: 154px;
        }
        .style3
        {
            width: 246px;
        }
        .style4
        {
            width: 124px;
        }
        .style6
        {
            height: 20px;
        }
        .style7
        {
            height: 16px;
        }
        .style8
        {
            height: 6px;
        }
        .style9
        {
            height: 19px;
        }
        </style>
    
</asp:Content>
<asp:Content ID="contenido" ContentPlaceHolderID="MainContent" runat="server">
    <table align="center"> <tr> <td> <table style="width: 122px; height: 102px"></table></td><td class="style3">
    
    <table align="center">
                <tr>
                    <td class="style1" valign="bottom" align="right">
                        Usuario</td>
                    <td class="style2" valign="bottom">
                        <asp:TextBox ID="_nombreUsuarioTextbox" runat="server" Width="154px" 
                            ValidationGroup="grupoLogin" ontextchanged="alias_TextChanged"></asp:TextBox>

                    </td>
                </tr>
                <tr>
                    <td class="style1" align="right">
                        Clave</td>
                    <td valign="top" class="style2">
                        <asp:TextBox ID="_contrasenhaTextbox" runat="server" Width="154px" 
                            TextMode="Password" ValidationGroup="grupoLogin"></asp:TextBox></td>
                </tr>
                <tr>
                    <td class="style7" colspan="2" align="center">
    <asp:Button ID="_ingresarBoton" runat="server" Text="Ingresar" 
        Width="129px"  ValidationGroup="grupoLogin"  OnClick="_ingresarBoton_Click" style="height: 26px"/>
                    </td>
                </tr>
                <tr>
                    <td class="style6" colspan="2" align="center">
                        <div id="validarLogin"><asp:HiddenField ID="sLogin" runat="server" 
                                onvaluechanged="sLogin_ValueChanged" /><asp:Label ID="MensajeDeError" class="obligado" runat ="server"></asp:Label></div></td>
                </tr>
                <tr>
                    <td class="style6" colspan="2" align="center">
                        <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/GUI/Vista/RecuperarClave.aspx">¿Olvidó su Contraseña?</asp:HyperLink></td>
                </tr>
            </table>
            </td><td class="style4">
            <table style="width: 115px; height: 130px; margin-left: 0px; margin-top: 0px;"><tr> 
                <td class="style9"><asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="_nombreUsuarioTextbox"
        ErrorMessage="Llenar campo" ValidationGroup="grupoLogin" class="obligado"></asp:RequiredFieldValidator>

</td></tr><tr><td class="style8"><asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="_contrasenhaTextbox"
        ErrorMessage="Llenar campo" ValidationGroup="grupoLogin" class="obligado"></asp:RequiredFieldValidator>
</td></tr><tr><td></td></tr></table> </td></tr></table>
</asp:Content>

